package com.vegetable.modules.entity.finance.po;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * <p>
 * 交易流水与付款记录匹配关系 PO
 * </p>
 *
 * @author Qoder
 * @since 2025-11-02
 */
@Data
@ApiModel(value="TransactionPaymentMatchPO对象", description="交易流水与付款记录匹配关系参数对象")
public class TransactionPaymentMatchPO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "交易流水ID")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long transactionId;

    @ApiModelProperty(value = "付款记录ID")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long paymentId;
    
    @ApiModelProperty(value = "分配金额（用于调整分配）")
    private BigDecimal allocateAmount;
}